﻿<?xml version="1.0" encoding="utf-8"?>
<!--
	List Column Schema - For more info see:
		OneNote > MTZ_DevOps > MTZ Thoughts > List Schema
-->
<Template>
  <JobsAvailable>
    <Fields>
      <Field Type="Text" DisplayName="jobAvailable" Required="FALSE" MaxLength="255" StaticName="jobAvailable" Name="jobAvailable"></Field>
      <Field Type="Note" DisplayName="jobTemplate" Required="FALSE" NumLines="15" StaticName="jobTemplate" Name="jobTemplate" RichText="FALSE" />
      <Field Type="Note" DisplayName="jobDescription" Required="FALSE" NumLines="10" StaticName="jobDescription" Name="jobDescription" RichText="FALSE" />
      <Field Type="Text" DisplayName="jobTemplateVersion" Required="FALSE" MaxLength="255" StaticName="jobTemplateVersion" Name="jobTemplateVersion" />
      <Field Type="Text" DisplayName="jobAuthor" Required="FALSE" MaxLength="255" StaticName="jobAuthor" Name="jobAuthor"></Field>
      <Field Type="Text" DisplayName="jobAuthorURL" Required="FALSE" MaxLength="255" StaticName="jobAuthorURL" Name="jobAuthorURL" />
      <Field Type="Text" DisplayName="jobPlatform" Required="FALSE" MaxLength="255" StaticName="jobPlatform" Name="jobPlatform" />
    </Fields>
    <Views>
      <View>
        <viewName>JobsAvailable</viewName>
        <viewFields>
          <viewField>LinkTitle</viewField>
          <viewField>jobAvailable</viewField>
          <viewField>jobDescription</viewField>
        </viewFields>
        <viewQuery>
          <OrderBy>
            <FieldRef Name="LinkTitle" />
          </OrderBy>
        </viewQuery>
        <viewRowLimit>50</viewRowLimit>
        <viewPaged>true</viewPaged>
        <viewDefaultView>true</viewDefaultView>
      </View>
    </Views>
  </JobsAvailable>
  <JobsErrors>
    <Fields>
      <Field Type="DateTime" DisplayName="ErrorDateTime" Required="False" MaxLength="255" StaticName="ErrorDateTime" Name="ErrorDateTime" />
      <Field Type="Text" DisplayName="ErrorMessage" Required="False" MaxLength="255" StaticName="ErrorMessage" Name="ErrorMessage" />
    </Fields>
    <Views>
      <View>
        <viewName>JobsErrors</viewName>
        <viewFields>
          <viewField>LinkTitle</viewField>
          <viewField>ErrorDateTime</viewField>
          <viewField>ErrorMessage</viewField>
        </viewFields>
        <viewQuery>
          <OrderBy>
            <FieldRef Name="ErrorDateTime" />
          </OrderBy>
        </viewQuery>
        <viewRowLimit>50</viewRowLimit>
        <viewPaged>true</viewPaged>
        <viewDefaultView>true</viewDefaultView>
      </View>
    </Views>
  </JobsErrors>
  <JobsScheduled>
    <Fields>
      <Field Type="Choice" DisplayName="ActiveStatus" Required="Yes" Format="Dropdown" FillInChoice="FALSE" StaticName="ActiveStatus" Name="ActiveStatus">
        <Default>No</Default>
        <CHOICES>
          <CHOICE>Yes</CHOICE>
          <CHOICE>No</CHOICE>
        </CHOICES>
      </Field>
      <Field Type="Choice" DisplayName="Frequency" Required="No" Format="Dropdown" FillInChoice="FALSE" StaticName="Frequency" Name="Frequency">
        <Default></Default>
        <CHOICES>
          <CHOICE>Minute</CHOICE>
          <CHOICE>Hourly</CHOICE>
          <CHOICE>Daily</CHOICE>
          <CHOICE>Weekly</CHOICE>
          <CHOICE>Monthly</CHOICE>
        </CHOICES>
      </Field>
      <Field Type="Choice" DisplayName="FreqInterval" Required="No" Format="Dropdown" FillInChoice="FALSE" StaticName="FreqInterval" Name="FreqInterval">
        <Default></Default>
        <CHOICES>
          <CHOICE>1</CHOICE>
          <CHOICE>2</CHOICE>
          <CHOICE>5</CHOICE>
          <CHOICE>15</CHOICE>
          <CHOICE>30</CHOICE>
          <CHOICE>90</CHOICE>
        </CHOICES>
      </Field>
      <Field Type="MultiChoice" DisplayName="FrequencyDay" Required="False" FillInChoice="FALSE" StaticName="FrequencyDay" Name="FrequencyDay">
        <Default>NA</Default>
        <CHOICES>
          <CHOICE>Sunday</CHOICE>
          <CHOICE>Monday</CHOICE>
          <CHOICE>Tuesday</CHOICE>
          <CHOICE>Wednesday</CHOICE>
          <CHOICE>Thursday</CHOICE>
          <CHOICE>Friday</CHOICE>
          <CHOICE>Saturday</CHOICE>
        </CHOICES>
      </Field>
      <Field Type="DateTime" DisplayName="LastRunTime" Required="False" MaxLength="255" StaticName="LastRunTime" Name="LastRunTime" />
      <Field Type="DateTime" DisplayName="NextRunTime" Required="False" MaxLength="255" StaticName="NextRunTime" Name="NextRunTime" />
      <Field Type="Text" DisplayName="TemplateVersion" Required="FALSE" MaxLength="255" StaticName="TemplateVersion" Name="TemplateVersion" />
      <Field Type="Text" DisplayName="SourceJob" Required="False" MaxLength="255" StaticName="SourceJob" Name="SourceJob" />
      <Field Type="Text" DisplayName="JobGUID" Required="False" MaxLength="255" StaticName="JobGUID" Name="JobGUID" />
      <Field Type="Note" DisplayName="JSONValue" Required="FALSE" NumLines="6" StaticName="JSONValue" Name="JSONValue" RichText="FALSE" />
    </Fields>
    <Views>
      <View>
        <viewName>JobsScheduled</viewName>
        <viewFields>
          <viewField>LinkTitle</viewField>
          <viewField>ActiveStatus</viewField>
          <viewField>Frequency</viewField>
          <viewField>FreqInterval</viewField>
          <viewField>FrequencyDay</viewField>
          <viewField>LastRunTime</viewField>
          <viewField>NextRunTime</viewField>
        </viewFields>
        <viewQuery>
          <OrderBy>
            <FieldRef Name="NextRunTime" />
          </OrderBy>
        </viewQuery>
        <viewRowLimit>50</viewRowLimit>
        <viewPaged>true</viewPaged>
        <viewDefaultView>true</viewDefaultView>
      </View>
    </Views>
  </JobsScheduled>
  <JobRecords>
    <Fields>
      <Field Type="Text" DisplayName="JobName" Required="False" MaxLength="255" StaticName="JobName" Name="JobName" />
    </Fields>
    <Views>
      <View>
        <viewName>JobRecords</viewName>
        <viewFields>
          <viewField>LinkTitle</viewField>
          <viewField>Attachments</viewField>
          <viewField>Modified</viewField>
        </viewFields>
        <viewQuery>
          <OrderBy>
            <FieldRef Name="ErrorDateTime" />
          </OrderBy>
        </viewQuery>
        <viewRowLimit>50</viewRowLimit>
        <viewPaged>true</viewPaged>
        <viewDefaultView>true</viewDefaultView>
      </View>
    </Views>
  </JobRecords>
</Template>
<!--                          
		****************     Field Type Options / Examples  ******************
Single Line Text Field
	<Field Type="Text" DisplayName="Name" Required="False" MaxLength="255" StaticName="Name" Name="Name" />
Number Field
	<Field Type="Number" DisplayName="Phone Number" Required="False" MaxLength="255" StaticName="PhoneNumber" Name="PhoneNumber" />
Date-Time field
	<Field Type="DateTime" DisplayName="Date of Birth" Required="False" MaxLength="255" StaticName="DateOfBirth" Name="DateOfBirth" />

Multi-Line Text Field Plain Text Schema
<Field Type="Note" DisplayName="JSON_Template" Required="TRUE" NumLines="6" StaticName="JSON_Template" Name="JSON_Template" RichText="FALSE" />

Multi-Line Text Field Rich Text Schema:
<Field Type="Note" DisplayName="Multiline" Required="TRUE" NumLines="6" StaticName="Multiline" Name="Multiline" RichText="TRUE" RichTextMode="Compatible" />

Multi-Line Text Field Enhanced Rich Text Schema:
<Field Type="Note" DisplayName="Multiline" Required="TRUE" NumLines="6" StaticName="Multiline" Name="Multiline" RichText="TRUE" RichTextMode="FullHtml" IsolateStyles="FALSE" />

Choice Field
	<Field Type="Choice" DisplayName="Salary" Required="False" Format="Dropdown" FillInChoice="FALSE" StaticName="Salary" Name="Salary">
		<Default>0 - 10000</Default>
		<CHOICES>
			<CHOICE>0 - 10000</CHOICE>
			<CHOICE>10000 - 50000</CHOICE>
			<CHOICE>50000 - 100000</CHOICE>
			<CHOICE>100000 or more</CHOICE>
		</CHOICES>
    </Field>

MultiSelect Field
	<Field Type='MultiChoice' DisplayName='DaysOfWeek' Required="False" FillInChoice='FALSE' StaticName='DaysOfWeek' Name='DaysOfWeek'>
                    <Default>MyChoice1</Default>
                    <CHOICES>
                        <CHOICE>Sunday</CHOICE>
                        <CHOICE>Monday</CHOICE>
			<CHOICE>Tuesday</CHOICE>
			<CHOICE>Wednesday</CHOICE>
			<CHOICE>Thursday</CHOICE>
			<CHOICE>Friday</CHOICE>
			<CHOICE>Saturday</CHOICE>
                    </CHOICES>
                </Field>
-->